#include "unp.h"

void sig_child(int sig)
{
    int status;
    int pid;

    while ( (pid=waitpid(-1, &status, WNOHANG)) > 0) {
        printf("wait child %d\n", pid);
    }
    
    return;
}
